package com.laolang.pluto.module.generator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laolang.pluto.module.generator.entity.GenTable;
import com.laolang.pluto.module.generator.pojo.po.TableInfoPo;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

/**
 * @author laolang
 * @date 2021-08-01 16:34
 */
public interface GenTableMapper extends BaseMapper<GenTable> {
    List<TableInfoPo> selectTableInfoList(@Param("tableName") String tableName,
                                          @Param("tableComment") String tableComment);

    TableInfoPo selectTableInfoByTableName(@Param("tableName") String tableName);

    List<Map<String, Object>> selectTableDetail(@Param("tableName") String tableName);
}
